Click or drag to resize

ResourceLock Method (String, String, String)

Lock a resource based on the given parameters.

Namespace:  Independentsoft.Webdav
Assembly:  Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
public ActiveLock Lock(
	string address,
	string depth,
	string timeout
)

Parameters

address
Type: SystemString
The URI of the resource to lock.
depth
Type: SystemString
The depth of lock. Allowed values are: Depth.Zero and Depth.Infinity
timeout
Type: SystemString
The lock timeout as either "Second-n" (where "n" is number between 0 and 4294967295) or "Infinite".

Return Value

Type: ActiveLock
An ActiveLock as result of lock operation.
See Also